home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 035a / grinost.zip / AUTOSAMP.NOS next >
Text File  |  1991-09-22  |  5KB  |  170 lines

  1. # Change this file to filename AUTOEXEC.NOS and install in root directory
  2. #
  3. # Sample by N1BEE, 22-Sep-91, for GRINOS 910921v0.72
  4. # Standard user with KISS TNC on a serial port is assumed.
  5. #
  6. # DON'T FORGET TO CHANGE ADDRESSES AND CALLSIGNS!!!
  7. #
  8. mem eff on
  9. watchdog on
  10. #
  11. # Callsign and SSID (omit SSID if using 0)
  12. #
  13. ax25 mycall W1XYZ
  14. #
  15. hostname w1xyz.ampr.org
  16. ip addr [44.104.0.192]
  17. ifconfig loopback ipaddress [44.104.0.192]
  18. #
  19. # Set "domain translate on" if you have a fast enough machine, a small
  20. # enough DOMAIN.TXT file, and want to see domain names displayed rather
  21. # than raw IP addresses...
  22. #
  23. domain translate off
  24. domain verbose off
  25. domain cache size 40
  26. domain suffix ampr.org.
  27. #
  28. log \spool\nos.log
  29. #
  30. #----------------------------------------------------------------------------
  31. # Attach interfaces
  32. # Syntax: attach <hw type> <I/O address> <vector> <mode> <label>
  33. #                <bufsize> <mtu> [<speed>]
  34. #
  35. # Standard address/vectors: COM1, 0x3f8, 4; COM2, 0x2f8, 3;
  36. # COM3, 0x3e8, 4; COM4, 0x2e8, 3.  These may vary on some hardware.
  37. #
  38. # COM2: KISS TNC
  39. attach asy 0x2f8 3 ax25 ax0 2048 256 4800
  40. #
  41. # We don't need many of these if we are only attaching an asy device...
  42. memory nibufs 2
  43. #
  44. #----------------------------------------------------------------------------
  45. #
  46. ip ttl 16
  47. #
  48. # We are going to pick up RSPF routes, so all we need is a route to
  49. # our local switch.  One route is a good way to start out, even if you
  50. # are not going to run RSPF.  It will get you on the network!
  51. # Always use "addprivate" instead of "add" for the default route; this
  52. # is a critcal issue for RSPF.
  53. #
  54. route addprivate default ax0 [44.104.0.2] 1
  55. #
  56. ftype image
  57. #
  58. # This is a matter of much debate.  Users are obliged to find out what
  59. # their local standards are and to try and adhere to them.  Some groups
  60. # use "tcp timertype exponential" or "tcp mss 192"; this is local stuff.
  61. # Don't use tcp mss above 216.  Settings for tcp irtt and ip rtimer are
  62. # not too important and do not really affect the network.
  63. #
  64. tcp mss 216
  65. tcp timertype linear
  66. tcp irtt 30000
  67. ip rtimer 240
  68. #
  69. # This is just playing around.  A server takes on the tcp window size
  70. # in effect when it is started.  This is an attempt to give smtp some
  71. # priority over the average server by giving it a smaller window, and
  72. # giving ftp lower priority by giving it a larger window.  Taking out
  73. # all of the "tcp window" commands would probably work just as well.
  74. #
  75. # Note that values used for tcp window should be integral multiples
  76. # of whatever is used for tcp mss above.
  77. #
  78. tcp window 216
  79. start smtp
  80. start telnet
  81. tcp window 768
  82. start ftp
  83. tcp window 432
  84. start discard
  85. start echo
  86. start ax25
  87. start finger
  88. start remote
  89. start ttylink
  90. #
  91. # By the way: "echo" and "discard" are internals, "smtp" receives mail,
  92. # "telnet" present a mailbox to the outside world, "ftp" allows file
  93. # transfer sessions to come in, "ax25" allows non-TCPIP users to connect,
  94. # "finger" lets others find out information about us, "remote" lets
  95. # others make us transmit a retry (overriding our timers), and "ttylink"
  96. # allows keyboard to keyboard chats.
  97. #
  98. smtp timer 300
  99. smtp batch on
  100. echo refuse
  101. #
  102. #----------------------------------------------------------------------------
  103. ax25 timertype linear
  104. ax25 blimit 15
  105. ax25 version 2
  106. ax25 digipeat on
  107. ax25 paclen 256
  108. ax25 retry 10
  109. ax25 t1 9000
  110. ax25 t2 3000
  111. ax25 t3 600000
  112. ax25 window 2048
  113. ax25 maxframe 3
  114. #
  115. #----------------------------------------------------------------------------
  116. # Here is the experimental setup for RSPF at an end user...
  117. #
  118. ifconfig ax0 broadcast [44.255.255.255]
  119. rspf maxping 3
  120. rspf interface ax0 8 1
  121. rspf rrhtimer 900
  122. rspf timer 900
  123. rspf suspecttimer 2000
  124. rspf message "Automatic routing with RSPF v2.1"
  125. #
  126. # Don't actually use RSPF unless you know what you're doing!  Also,
  127. # ignore anything in the documentation that instructs adding an ARP
  128. # entry manually for the broadcast address.  It is not needed, and
  129. # RSPF will keep trying to ping it (without success, obviously).
  130. #
  131. #----------------------------------------------------------------------------
  132. # Change these to whatever you want: they are the function keys.
  133. # Use the "fkey" command alone from the "net>" prompt to see the
  134. # coding matrix to map F keys and combinations with Shift, Ctrl, Alt.
  135. # The '\n' character means a return (newline).
  136. #
  137. #f1-f4
  138. fkey 59 "tcp status\n"
  139. fkey 60 "mem status\n"
  140. fkey 61 "status\n"
  141. fkey 62 "rspf status\n"
  142. #
  143. #f5-f8
  144. fkey 63 "ping wb6nil\n"
  145. fkey 64 "ping wb6nil 188\n"
  146. fkey 65 "ping switch.w1cg-9\n"
  147. fkey 66 "ping switch.w1cg-9 188\n"
  148. #
  149. #f9 (trace off)
  150. fkey 67 "trace ax0 0\n"
  151. #shift-f9 (trace on)
  152. fkey 92 "trace ax0 111\n"
  153. #
  154. #----------------------------------------------------------------------------
  155. # Here is the setup for POP...
  156. #
  157. pop mailhost [44.104.0.2]
  158. pop mailbox W1XYZ
  159. pop userdata w1xyz w1xyz
  160. pop timer 14400
  161. pop kick
  162. #
  163. #----------------------------------------------------------------------------
  164. # Most of these are not going to do anything, anyway...
  165. param ax0 1 40
  166. param ax0 2 120
  167. param ax0 3 32
  168. #
  169. #End
  170.